<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class UserRankExp extends Model
{
    //会员积分值
    protected $table = 'user_rank_exp';

    protected $fillable=[
        'exp_value',
        'user_id',
        'type',
        'remarks',
        'created_at',
    ];

    public function user()
    {
        return $this->hasOne('App\Models\User','id','user_id');
    }
}
